/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac3.client.gui.model;

import edu.uoc.tdp.pac3.bo.IIncidenciaBO;
import edu.uoc.tdp.pac3.domain.User;
import java.rmi.RemoteException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Gerard
 */
public class UserModelComboBox extends AbstractModelComboBox<User> {

    public UserModelComboBox(IIncidenciaBO incidenciaBO) throws RemoteException {
        super(incidenciaBO);
    }

    @Override
    protected void fillList() throws RemoteException {
        try {
            setItems(getBo().getUsers());
        } catch (RemoteException ex) {
            Logger.getLogger(UserModelComboBox.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

    
    
}
